Open the Portico Schema site
Portico Developer Guide
Mastercard Gratuity Rules
Special Processing Rules > Gratuity > Mastercard Gratuity Rules

For merchants in the US, Mastercard credit transactions are subject to additional rules for gratuity:

For any request, if the authorization response indicates a Partial Approval (RspCode = 10), gratuity may not be added.